<?php
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once __DIR__ . '/../NamesDicController.php';

class NamedicTest extends UnitTestCase
{
	protected $_TestComplete = FALSE;

	public function Test1100()
	{
		$filename = __DIR__ . '/NamedicTest1100Assert.txt';
		$objNamesDic = new ZendPartial_NamesDicController;
		if ($this->_TestComplete === FALSE){
			$AssertTest = file_get_contents($objNamesDic->getNameFilePhp());
			file_put_contents($filename, $AssertTest);
		}
		$AssertTest = file_get_contents($filename);
		$this->assertEqual($AssertTest, file_get_contents($objNamesDic->getNameFilePhp()));
	}
}